<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>相宜本草官网</title>
</head>
<body>
	<header>
		<div class="header-top">
			<div class="width-center">
				<div class="header-logo ">
					<img src="${gongsi.cpyLogo}" alt=""
						style="width: 250px; height: 120px;">
				</div>
				<div class="header-title div-inline">
					<strong>${gongsi.cpyName}</strong> <span>www.sleemon.cn</span>
				</div>

				<form action="ProductServlet?reqName=selectName" method="post"
					style="float: right;">
					<p></p>
					<input type="text" name="pdtName" id="pdtName" placeholder="请输入关键字"
						autocomplete="off" class="layui-input"
						style="width: 200px; display: inline"> <input
						type="submit" value="搜索"
						class="layui-btn layui-btn-small layui-btn-radius layui-btn-primary">
				</form>
			</div>
		</div>
		<div class="header-nav">
			<button class="am-show-sm-only am-collapsed font f-btn"
				data-am-collapse="{target: '.header-nav'}">
				Menu <i class="am-icon-bars"></i>
			</button>
			<nav>
				<ul class="header-nav-ul am-collapse am-in">
					<li class="on"><a href="IndexServlet" name="index">首页</a></li>
					<li><a href="CompangServlet?reqName=selectAll" name="gongsi" >关于我们</a></li>
					<li><a href="ProductServlet?reqName=selectAll" name="pdts">产品展示</a></li>
					<li><a href="NewsServlet?reqName=selectAll" name="ns">新闻资讯</a></li>
					<li><a href="CompangServlet?reqName=select" name="message">联系我们</a>
						<div class="secondary-menu">

							<ul>
								<li><a href="message.jsp" class="message"></a></li>
							</ul>
						</div></li>
				</ul>
			</nav>
		</div>

	</header>


	<div class="am-slider am-slider-default"
		data-am-flexslider="{playAfterPaused: 8000}">
		<ul class="am-slides">
			<c:forEach items="${luns}" var="lb">
				<li><a href=""></a><img src="${lb.lbtWay}" alt=""></li>
				<li><img src="${lb.lbtWay}" alt=""></li>
			</c:forEach>
		</ul>
	</div>
</html>